<template>
    <div>
    <!-- ../DaoHang/MDao1.vue -->
       <a href="#" @click="M = 'MDao1'"><MDao1/></a>
       <a href="#" @click="M = 'MDao2'"><MDao2/></a>
       <a href="#" @click="M = 'MDao3'"><MDao3/></a>
       <component :is="M"></component>
    </div>
</template>

<script>
import MDao1 from './MDao1.vue';
import MDao2 from './MDao2.vue';
import MDao3 from './MDao3.vue';

export default {
    components: {
        MDao1,
        MDao2,
        MDao3
    },
    data() {
        return {
            M:''
        }
    }
}
</script>